﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TaxiOnline.DAL.Abstract;

namespace TaxiOnline.DAL.Models
{
    public class Street: Entity
    {
        
        public string Name { get; set; }
        public Region Region { get; set; }

        public Street() {
            Id = -1;
            Name = String.Empty;
            Region = new Region();
        }

        public Street(int id, string name, Region region)
        {
            Id = id;
            Name = name;
            Region = region;
        }
    }
}
